home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Fun House 1
/
CD Fun House (Wayzata Technology).iso
/
•Games Parlour•
/
MacMatch •••
/
MacMatch
/
MacMatch.rsrc
/
CODE_6_•Init.txt
< prev
next >
Wrap
Text File
|
1987-02-19
|
6KB
|
121 lines
# near model CODE resource
# jump table entries: 344-344 (1 of them)
export_43:
00000000 48E7 FFF0 movem.l -[A7], D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3
00000004 4247 clr.w D7
00000006 41FA 00C0 lea.l A0, [PC + 0xC0 /* 000000C8, value 0x79F2, cstring "" */]
0000000A 2218 move.l D1, [A0]+
0000000C 6F00 00A6 ble +0xA8 /* 000000B4 */
00000010 2A18 move.l D5, [A0]+
00000012 6604 bne +0x6 /* 00000018 */
00000014 2A0D move.l D5, A5
00000016 9A81 sub.l D5, D1
label00000018:
00000018 2645 movea.l A3, D5
0000001A 244B movea.l A2, A3
0000001C E281 asr D1, 1
0000001E 6002 bra +0x4 /* 00000022 */
label00000020:
00000020 425A clr.w [A2]+
label00000022:
00000022 51C9 FFFC dbf D1, -0x6 /* 00000020 */
00000026 3018 move.w D0, [A0]+
00000028 3E18 move.w D7, [A0]+
0000002A 6000 0084 bra +0x86 /* 000000B0 */
label0000002E:
0000002E 7800 moveq.l D4, 0x00
00000030 1818 move.b D4, [A0]+
00000032 2204 move.l D1, D4
00000034 0201 000F andi.b D1, 0xF
00000038 0804 0004 btst.b D4, 0x4
0000003C 670E beq +0x10 /* 0000004C */
0000003E E141 asl D1.w, 8
00000040 1218 move.b D1, [A0]+
00000042 0881 000B bclr.b D1, 0xB
00000046 6704 beq +0x6 /* 0000004C */
00000048 E181 asl D1, 8
0000004A 1218 move.b D1, [A0]+
label0000004C:
0000004C 7401 moveq.l D2, 0x01
0000004E 0804 0007 btst.b D4, 0x7
00000052 6716 beq +0x18 /* 0000006A */
00000054 1418 move.b D2, [A0]+
00000056 0882 0007 bclr.b D2, 0x7
0000005A 670E beq +0x10 /* 0000006A */
0000005C E142 asl D2.w, 8
0000005E 1418 move.b D2, [A0]+
00000060 0882 000E bclr.b D2, 0xE
00000064 6704 beq +0x6 /* 0000006A */
00000066 E182 asl D2, 8
00000068 1418 move.b D2, [A0]+
label0000006A:
0000006A 7C02 moveq.l D6, 0x02
0000006C 4EBA 004C jsr [PC + 0x4C /* 000000BA */]
00000070 0885 000F bclr.b D5, 0xF
00000074 6704 beq +0x6 /* 0000007A */
00000076 E185 asl D5, 8
00000078 1A18 move.b D5, [A0]+
label0000007A:
0000007A 43F3 5800 lea.l A1, [A3 + D5]
0000007E 2449 movea.l A2, A1
00000080 0804 0005 btst.b D4, 0x5
00000084 671C beq +0x1E /* 000000A2 */
00000086 2C01 move.l D6, D1
00000088 4EBA 0030 jsr [PC + 0x30 /* 000000BA */]
0000008C 0C41 0002 cmpi.w D1, 0x2
00000090 6706 beq +0x8 /* 00000098 */
00000092 6D08 blt +0xA /* 0000009C */
00000094 DB92 add.l [A2], D5
00000096 600E bra +0x10 /* 000000A6 */
label00000098:
00000098 DB52 add.w [A2], D5
0000009A 600A bra +0xC /* 000000A6 */
label0000009C:
0000009C DB12 add.b [A2], D5
0000009E 6006 bra +0x8 /* 000000A6 */
label000000A0:
000000A0 12D8 move.b [A1]+, [A0]+
label000000A2:
000000A2 51C9 FFFC dbf D1, -0x6 /* 000000A0 */
label000000A6:
000000A6 0804 0006 btst.b D4, 0x6
000000AA 6704 beq +0x6 /* 000000B0 */
000000AC 260D move.l D3, A5
000000AE D792 add.l [A2], D3
label000000B0:
000000B0 51C8 FF7C dbf D0, -0x86 /* 0000002E */
label000000B4:
000000B4 4CDF 0FFF movem.l D0,D1,D2,D3,D4,D5,D6,D7,A0,A1,A2,A3, [A7]+
000000B8 4E75 rts
fn000000BA:
000000BA 7A00 moveq.l D5, 0x00
000000BC 6004 bra +0x6 /* 000000C2 */
label000000BE:
000000BE E18D lsl D5, 8
000000C0 1A18 move.b D5, [A0]+
label000000C2:
000000C2 51CE FFFA dbf D6, -0x8 /* 000000BE */
000000C6 4E75 rts
000000C8 0000 79F2 ori.b D0, 0xF2
000000CC 0000 0000 ori.b D0, 0x0
000000D0 0005 0000 ori.b D5, 0x0
000000D4 101A move.b D0, [A2]+
000000D6 0154 bchg [A4], D0
000000D8 5348 subq.w A0, 1
000000DA 0000 0000 ori.b D0, 0x0
000000DE FFFF .invalid <<F/7/7>>
000000E0 870C sbcd -[A3], -[A4]
000000E2 FFFF .invalid <<F/7/7>>
000000E4 8714 or.b [A4], D3
000000E6 8100 sbcd D0, D0
000000E8 0000 0000 ori.b D0, 0x0
000000EC 0000 FFFF ori.b D0, 0xFF
000000F0 8718 or.b [A0]+, D3
000000F2 6001 bra +0x3 /* 000000F5 */
000000F4 5A60 addq.w -[A0], 5
000000F6 015E bchg [A6]+, D0
000000F8 6001 bra +0x3 /* 000000FB */
000000FA 6A01 bpl +0x3 /* 000000FD */
000000FC 018B bclr A3, D0
000000FE 0100 btst D0, D0